[INFO] cloning repository https://github.com/antonin07130/tinynn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antonin07130/tinynn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e9928a528c881a7130d3b3874f506f7733cd6628
[INFO] building antonin07130/tinynn against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/antonin07130/tinynn on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/antonin07130/tinynn
[INFO] finished tweaking git repo https://github.com/antonin07130/tinynn
[INFO] tweaked toml for git repo https://github.com/antonin07130/tinynn written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/antonin07130/tinynn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b416ce203c909bd4aa7d231a4d4394cababcfd7c58d745b702717db38bd9ffc
[INFO] running `Command { std: "docker" "start" "-a" "7b416ce203c909bd4aa7d231a4d4394cababcfd7c58d745b702717db38bd9ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b416ce203c909bd4aa7d231a4d4394cababcfd7c58d745b702717db38bd9ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b416ce203c909bd4aa7d231a4d4394cababcfd7c58d745b702717db38bd9ffc", kill_on_drop: false }`
[INFO] [stdout] 7b416ce203c909bd4aa7d231a4d4394cababcfd7c58d745b702717db38bd9ffc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40bce7a6c8c6d1d103ceaa391901cf8cfffdc78b4d366e53d74a0166fec81fe3
[INFO] running `Command { std: "docker" "start" "-a" "40bce7a6c8c6d1d103ceaa391901cf8cfffdc78b4d366e53d74a0166fec81fe3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling ndarray-rand v0.11.0
[INFO] [stderr]    Compiling tinynn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]   --> src/main.rs:62:46
[INFO] [stdout]    |
[INFO] [stdout] 62 |      let mut layer1 : Array2<f64> = n.w1.dot(x);
[INFO] [stdout]    |                                              ^ help: a local variable with a similar name exists: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::Array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:64:46
[INFO] [stdout]     |
[INFO] [stdout] 64  |      let mut layer2 : Array2<_> = layer1.dot(n.w2);
[INFO] [stdout]     |                                          --- ^^^^
[INFO] [stdout]     |                                          |   |
[INFO] [stdout]     |                                          |   expected reference, found struct `ArrayBase`
[INFO] [stdout]     |                                          |   help: consider borrowing here: `&n.w2`
[INFO] [stdout]     |                                          arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ndarray-0.13.1/src/linalg/impl_linalg.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub fn dot<Rhs>(&self, rhs: &Rhs) -> <Self as Dot<Rhs>>::Output
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 |  fn feed_forward(n : NeuralNetwork) -> NeuralNetwork {
[INFO] [stdout]    |     ------------                       ^^^^^^^^^^^^^ expected struct `NeuralNetwork`, found `()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `n`
[INFO] [stdout]    |
[INFO] [stdout] 64 ~      let mut layer2 : Array2<_> = layer1.dot(n.w2);
[INFO] [stdout] 65 +      n
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tinynn` due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "40bce7a6c8c6d1d103ceaa391901cf8cfffdc78b4d366e53d74a0166fec81fe3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40bce7a6c8c6d1d103ceaa391901cf8cfffdc78b4d366e53d74a0166fec81fe3", kill_on_drop: false }`
[INFO] [stdout] 40bce7a6c8c6d1d103ceaa391901cf8cfffdc78b4d366e53d74a0166fec81fe3
